			// $(function(){
			// 	var mydate= new Date(); //js只识别带/的分隔符,转换成Data();
			// 	var myyear = mydate.getFullYear();
			// 	var mymonth = mydate.getMonth()+1;
			// 	var myday = mydate.getDate();
			// 	var myweek = mydate.getDay();
			// 	var li1 = $('<li></li>').appendTo('#date');
			// 	var li2 = $('<li></li>').appendTo('#date');
			// 	var li3 = $('<li></li>').appendTo('#date');
			// 	li1.html(myyear+'年' + mymonth+ '月'+myday+'日');
			// 	li2.html('星期' + mydate.getDay());
			// })
			
			//单个数字配零
			  function getDouble(number){
			  var numbers=["0","1","2","3","4","5","6","7","8","9"];
			  for(var i=0;i<numbers.length;i++){
			   if(numbers[i]==number){
			    return "0"+numbers[i];
			   }else if(i==9){
			    return number;
			   }
			  }
			 }
			//得到当天时间
			 function getTodayTime(){
			  var days=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"];
			  var today = new Date();
			  var  date = (today.getYear()<1900?1900+today.getYear():today.getYear())+"年" + getDouble([today.getMonth()+1])+"月" +getDouble(today.getDate()) +"日";
			  var week =  days[today.getDay()];
			  var now = getDouble(today.getHours())+":"+getDouble(today.getMinutes())+":"+getDouble(today.getSeconds());
				document.getElementById('date').innerHTML = date;
				document.getElementById('week').innerHTML = week;
				document.getElementById('now').innerHTML = now;
			}
			//每隔一秒刷新一次
			 setInterval("getTodayTime()",1000);